package com.java.atm.Server;

import java.io.*;
import java.net.Socket;
import java.sql.Connection;
import java.sql.SQLException;

public class ServerThread implements Runnable
{

    private ATM atm;

    public ServerThread(Socket socket, Connection connection)throws SQLException,IOException
    {
        atm = new ATM(socket, connection);
    }

    @Override
    public void run()
    {
        try
        {
           // atm.StartBusiness();
        }catch(Exception e)
        {
            e.getStackTrace();
        }


    }

}
